@ECHO off
COLOR 0A
REM ========================================
ECHO.
SET LANGUAGE_LIST="en-us","zh-cn"
SET OFFICE_TYPE="O365Home"
ECHO.
REM ========================================
ECHO.
ECHO ===================================================
ECHO *****        BuildOSAll for Win10 180401         *****
ECHO ===================================================
ECHO.
ECHO.
ECHO LANGUAGE_LIST :   %LANGUAGE_LIST%
ECHO OFFICE_TYPE :     %OFFICE_TYPE%
ECHO.
ECHO.
ECHO LANGUAGE_LIST:  This languages used to define the need to add, Must be separated by commas(,)
ECHO                 For example: LANGUAGE_LIST="en-us","zh-cn","de-de","mn-mn"
ECHO.
ECHO OFFICE_TYPE:    The string used to define the micros office install type.
ECHO                 For example: OFFICE_TYPE="OfficeProfessional"
ECHO                 NoneOffice :                  Do not install any Office products
ECHO                 MobileOffice :                WordMobile, ExcelMobile, PowerPointMobile
ECHO                 OfficeProfessional :          Word, Excel, PowerPoint, Access, Publisher, Outlook
ECHO                 O365Personal :                Word, Excel, PowerPoint, Access, Publisher, Outlook
ECHO                 O365Home :                    Word, Excel, PowerPoint, Access, Publisher, Outlook
ECHO                 OfficeHomeandStudent :        Word, Excel, PowerPoint
ECHO                 OfficeHomeandBusiness :       Word, Excel, PowerPoint, Outlook
ECHO                 OfficeProfessionalAcademic :  Word, Excel, PowerPoint, Outlook, Publisher
ECHO                 OfficePersonal :              Word, Excel, Outlook (Japan Only)
ECHO.
ECHO.
ECHO Press any key to begin ...
PAUSE >NUL
CLS
POWERSHELL -ExecutionPolicy ByPass -File "%~dp0Scripts\Build.ps1" %LANGUAGE_LIST% %OFFICE_TYPE%
ECHO.
ECHO Press any key to stop ...
PAUSE >NUL
EXIT

